<div class="funcarea">
	<label>参数名</label>
	<select id="searchCondition">
	<option value="deployId">发布ID</option>
	
			
			
			
			
			
			
			
			
			
			
					<option value="changeFury">怒气改变值</option>	
			
					<option value="sound">音效</option>	
			
					<option value="skillres">资源SWF</option>	
				</select>
	<label>参数值</label>
	<input type="text" id="searchValue"/>
	<a href="javascript:void(0)" onclick="searchskill()">查询</a>
	<a href="javascript:void(0)" onclick="document.location.reload()">刷新</a>
	<a href="javascript:void(0)" onclick="promptAdd()">增加</a>
	<a href="javascript:void(0)" onclick="promptExport()">导出</a>
	<a href="javascript:void(0)" onclick="extract()">转换技能数据</a>
	<a href="javascript:void(0)" onclick="publish()">发布技能</a>
</div>
{% if pageLength > 1 %}
<center>
	<br/>
	{% if pageIndex > 1 %}
	<a href="javascript:void(0)" onclick="showMore({{pageIndex}} - 1)">上一页</a>
	{% endif %}
	<a href="javascript:void(0)" disabled>第{{pageIndex}}/{{pageLength}}页</a>
	{% if pageIndex < pageLength %}
	<a href="javascript:void(0)" onclick="showMore({{pageIndex}} + 1)">下一页</a>
	{% endif %}
	<a href="javascript:void(0)" onclick="go2Page()">跳至</a>第
	<input type="text" size="2" id="pageValue" value="{{pageIndex}}"/>页
	<br/>
</center>
{% endif %}
<div class="dataarea">
	<table>
		<thead>
			<tr>
			<th nowrap>发布ID</th>
			
				<th nowrap>名字</th>
			
				<th nowrap>描述</th>
			
				<th nowrap>分类</th>
			
				<th nowrap>目标类型</th>
			
				<th nowrap>固有伤害</th>
			
				<th nowrap>触发伤害</th>
			
				<th nowrap>基础状态</th>
			
				<th nowrap>触发状态</th>
			
				<th nowrap>触发器</th>
			
				<th nowrap>属性列表</th>
			
				<th nowrap>怒气改变值</th>
			
				<th nowrap>音效</th>
			
				<th nowrap>资源SWF</th>
							<th nowrap class="operator">----------操作---------</th>
			</tr>
		</thead>
		<tbody>
		{% for skill in skills %}
			<tr id="row_{{ skill.id }}">
				<td><a href="javascript:void(0)" onclick="promptMenu({{ skill.id }})">{{ skill.deployId }}</a></td>
				
					
						<td>{{ skill.name }}</td>
									
					
						<td>{{ skill.desc }}</td>
									
											<td>
							<select disabled>
																
									<option value="10" {% ifequal 10 skill.category %}selected="selected"{% endifequal %}>普通攻击</option>
								
									<option value="11" {% ifequal 11 skill.category %}selected="selected"{% endifequal %}>技能攻击</option>
								
									<option value="12" {% ifequal 12 skill.category %}selected="selected"{% endifequal %}>辅助攻击</option>
								
									<option value="13" {% ifequal 13 skill.category %}selected="selected"{% endifequal %}>怒气攻击</option>
								
									<option value="21" {% ifequal 21 skill.category %}selected="selected"{% endifequal %}>常效被动</option>
								
									<option value="22" {% ifequal 22 skill.category %}selected="selected"{% endifequal %}>触发被动</option>
								
									<option value="23" {% ifequal 23 skill.category %}selected="selected"{% endifequal %}>回合被动</option>
															</select>
						</td>
									
											<td>
							<select disabled>
																
									<option value="0" {% ifequal 0 skill.targetType %}selected="selected"{% endifequal %}>未选择</option>
								
									<option value="1" {% ifequal 1 skill.targetType %}selected="selected"{% endifequal %}>敌方随机单个目标</option>
								
									<option value="2" {% ifequal 2 skill.targetType %}selected="selected"{% endifequal %}>敌方全体目标</option>
								
									<option value="3" {% ifequal 3 skill.targetType %}selected="selected"{% endifequal %}>自己</option>
								
									<option value="4" {% ifequal 4 skill.targetType %}selected="selected"{% endifequal %}>己方随机单个目标</option>
								
									<option value="5" {% ifequal 5 skill.targetType %}selected="selected"{% endifequal %}>己方全体目标</option>
								
									<option value="6" {% ifequal 6 skill.targetType %}selected="selected"{% endifequal %}>随机单个目标</option>
								
									<option value="7" {% ifequal 7 skill.targetType %}selected="selected"{% endifequal %}>全体目标</option>
								
									<option value="8" {% ifequal 8 skill.targetType %}selected="selected"{% endifequal %}>攻击者</option>
								
									<option value="9" {% ifequal 9 skill.targetType %}selected="selected"{% endifequal %}>敌方丁字塔</option>
								
									<option value="10" {% ifequal 10 skill.targetType %}selected="selected"{% endifequal %}>敌方横向</option>
								
									<option value="11" {% ifequal 11 skill.targetType %}selected="selected"{% endifequal %}>敌方纵向</option>
								
									<option value="12" {% ifequal 12 skill.targetType %}selected="selected"{% endifequal %}>自己移动</option>
															</select>
						</td>
									
					
						<td>{{ skill.damage }}</td>
									
					
						<td>{{ skill.triggerDamage }}</td>
									
					
						<td>{{ skill.status }}</td>
									
					
						<td>{{ skill.triggerStatus }}</td>
									
					
						<td>{{ skill.trigger }}</td>
									
					
						<td>{{ skill.property }}</td>
									
					
						<td>{{ skill.changeFury }}</td>
									
					
						<td>{{ skill.sound }}</td>
									
					
						<td>{{ skill.skillres }}</td>
													<td class="operator">
					<a href="javascript:editskill({{ skill.id }})">编辑</a>
					<a href="javascript:removeskill({{ skill.id }})">删除</a>
					<a href="javascript:showskill({{ skill.id }})">显示JSON</a>
				</td>
			</tr>
		{% endfor %}
		</tbody>
	</table>
</div>
{% if pageLength > 1 %}
<center>
	<br/>
	{% if pageIndex > 1 %}
	<a href="javascript:void(0)" onclick="showMore({{pageIndex}} - 1)">上一页</a>
	{% endif %}
	<a href="javascript:void(0)" disabled>第{{pageIndex}}/{{pageLength}}页</a>
	{% if pageIndex < pageLength %}
	<a href="javascript:void(0)" onclick="showMore({{pageIndex}} + 1)">下一页</a>
	{% endif %}
	<a href="javascript:void(0)" onclick="go2Page()">跳至</a>第
	<input type="text" size="2" id="pageValue" value="{{pageIndex}}"/>页
	<br/>
</center>
{% endif %}
